package com.jinlejia.feedback.question.ui;

import android.content.Intent;
import androidx.databinding.DataBindingUtil;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.jinlejia.feedback.R;
import com.jinlejia.feedback.databinding.FbActivityQuestionMainBinding;
import com.jinlejia.feedback.idea.ui.FbIdeaMainActivity;
import com.jinlejia.feedback.idea.ui.QuestionResponseActivity;

public class FbQuestionMainActivity extends AppCompatActivity {
    private FbActivityQuestionMainBinding binding;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = DataBindingUtil.setContentView(this,R.layout.fb_activity_question_main);
        binding.setEvent(this);
    }

    public void demo(View view){
        Intent intent = new Intent();
        intent.setClass(this,FbQuestionDetailsActivity.class);
        startActivity(intent);
    }

    public void demo2(View view){
        Intent intent = new Intent();
        intent.setClass(this,FbIdeaMainActivity.class);
        startActivity(intent);
    }


    public void demo3(View view){
        Intent intent = new Intent();
        intent.setClass(this,QuestionResponseActivity.class);
        startActivity(intent);
    }

}
